package com.itwxz.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serial;
import java.io.Serializable;

@Data
@Component
@ConfigurationProperties(prefix = "qiniu")
public class QiNiuConfig implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private String accessKey;
    private String secretKey;
    private String bucket;
    private String domain;
    private String avatar;
    private String photo;
    private String forum;
}
